package com.jstorm.count.demo;

import com.jstorm.count.entity.ConfigEntity;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ProjectName: page-count
 * @Package: com.jstorm.count.demo
 * @ClassName: test
 * @Description:
 * @Author: Mr_hu
 * @CreateDate: 2019/2/14 0:01
 * ***********************************************************
 * @UpdateUser: Mr_hu
 * @UpdateDate: 2019/2/14 0:01
 * @UpdateRemark: The modified content
 * @Version: 1.0
 * ***********************************************************
 * Copyright: Copyright (c) 2019
 **/
@Service
public class test {



    @Autowired
    private ConfigEntity configEntity;

    @Test
    public void test01(){

//        String clientUrl = ConfigFactory.getInstance().getProperty(Global.ClientUrl,Global.ClientUrl2);

        System.out.println("-------------"+configEntity.getClientPort());
    }
}
